package com.cyandpos.pad.cateringformat.choosemenu.view;

import com.cyandpos.pad.posdata.CyFood;
import com.cyandpos.pad.posdata.Goods;
import com.cyandpos.pad.posdata.Member;
import com.cyandpos.pad.posdata.Order;
import com.cyandpos.pad.posdata.TicketInfo;

import java.util.List;

public interface QueryFoodView {
    void showProgress(String msg);
    void dismissProgress();
    void QueryFoodSuccess(List<CyFood> FoodList);
    void QueryFoodFailure(String errorMsg);
    void createOrderNO(String order);   //创建订单
    void handleGoods(Goods goods);  //添加商品
    void frontDiscount(List<Goods> goods, boolean isSingle);//前台折扣
    void addMember(Member member);  //添加会员
    void cancelOrder(String orderNo);  //取消订单
    void preparePay(TicketInfo ticketInfo, boolean isPromotion);  //准备付款
    void queryOrder(List<Order> orderList, double orderCount);//查询订单
}
